﻿/**
 * @file PyFITKMaterialsFibers.h
 * @brief 纤维材料 为python装饰器接口准备的封装类
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
#ifndef _PY_MATERIALS_FIBERS_H___
#define _PY_MATERIALS_FIBERS_H___

#include <QString>
#include "FITKAcousticsPhysicsAPI.h"
#include "PyFITKMaterialsBase.h"

namespace Acoustics
{
    /**
     * @brief 纤维材料 为python装饰器接口准备的封装类
     * @author wangning (2185896382@qq.com)
     * @date 2024-12-03
     */
    class FITKAcousticsPhysicsAPI PyFITKMaterialsFibers :public PyFITKMaterialsBase
    {
    public:
        explicit PyFITKMaterialsFibers(const QString& name);
        explicit PyFITKMaterialsFibers() = default;
        virtual ~PyFITKMaterialsFibers() = default;
        /**
         * @brief  设置密度和流阻率
         * @param[i]  density：密度
         * @param[i]  flowResistivity：流阻率
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-03
         */
        bool setDensityResistivity(double density, double flowResistivity);
        /**
         * @brief  设置刚性柔性框架
         * @param[i]  porosity：孔隙率
         * @param[i]  tortuosity： 曲折度
         * @param[i]  viscousLength： 粘性特征长度
         * @param[i]  thermalLength： 热特征长度
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-03
         */
        bool setRigidLimpFrame(double porosity, double tortuosity, double viscousLength, double thermalLength);
        /**
        * @brief  创建材料
        * @author wangning (2185896382@qq.com)
        * @date   2024-12-03
        */
        bool createMaterial(const QString& name);
    private:
    };
}
#endif
